html,
body {
  height: 100%;
}
//最底层div
.underlying {
  overflow: auto;
  padding: 0px 40px 0px 40px;
}

//外层div
.table {
  height: 100%;
  width: 100%;
}

.bbs {
  height: 44px;
  overflow: hidden;
}

//表头
.tableHeard {
  background: rgba(48, 73, 77, 1);
  border-radius: 4px 4px 0px 0px;
  height: 50px; //改高度50px  Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 1); ////  05/09
}

::ng-deep thead {
  text-align: center !important;
}

th {
  background: rgba(48, 73, 77, 1) !important;
  // height: 30px;
  padding: 0px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
}

::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

td {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  padding-left: 1px !important;
  padding-right: 3px !important;
  color: #ffffff;
}

//工联单Table
.designTable {
  margin: 0 auto;
}

//表格内容
.tablecontent {
  background: rgba(32, 48, 51, 1) !important;
  color: #ffffff;
}

// td>input
.input_first>input {
  width: 140px;
  background-color: #1B1D1F;
  border: 1px solid rgba(133, 141, 143, 1);
  color: #ffffff;
  font-size: 18px;
  height: 32px;
  border-radius: 4px;
  text-indent: 12px;
  vertical-align: middle;
}

.input_first:hover>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

.input_first:focus>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
  background: rgba(32, 48, 51, 1);
}

:host ::ng-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  margin-bottom: -25px !important;
}

:host ::ng-deep tr.ant-table-expanded-row td>.ant-table-wrapper {
  margin-top: -6px;
  margin-left: 0px;
  margin-right: -6px;
  margin-bottom: -7px;
}

:host ::ng-deep table {
  height: 39px; //修改高度 Claire 04/23
}

#first {
  background-color: #203033;
  height: 45px;
  text-align: center;
}

#first:hover>td {
  background: rgba(48, 73, 77, 0.5) !important; //修改背景色 Claire 04/23
}
#first2:hover>td {
  background-color: #203033;
  height: 45px;
  text-align: center;
}

:host ::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

// 滚动条
::ng-deep ::-webkit-scrollbar {
  background: rgba(32, 48, 51, 1);
  width: 6px; //右側滾動條寬度  Claire 04/24
  height: 15px; //下側滾動條高度  Claire 04/24
}

// // 滚动条的条  vertical 竖向
::ng-deep ::-webkit-scrollbar-thumb:vertical {
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

// // horizontal 横向
::ng-deep ::-webkit-scrollbar-thumb:horizontal {
  box-shadow: auto;
  background: #489C9C;
  ;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

::ng-deep::-webkit-scrollbar-corner {
  ///去右下滾動條白色  Claire 04/24
  background-color: rgba(32, 48, 51, 1); ///去右下滾動條白色  Claire 04/24
}

::ng-deep .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
  background: rgba(32, 48, 51, 1);
  border-bottom: none; ///   05/09
  margin-top: 10px;
}

// 确认按钮
.confirmAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_ok.svg');
  background-repeat: no-repeat;
  background-position: center;
}

// 取消按钮
.cancelAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_cancel.svg');
  background-repeat: no-repeat;
  background-position: center;
}

:host ::ng-deep .ant-table table {
  text-align: center;
}

// 狀態筛选
:host ::ng-deep .ant-btn {
  border: 1px solid rgba(71, 156, 156, 1);
  border-radius: 4px;
  background: rgba(48, 73, 77, 1);
  color: #ffffff;
  min-width: 130px;
}

:host ::ng-deep .ant-radio,
.ant-radio-group,
.ant-radio-wrapper {
  font-size: 18px;
  color: #ffffff;
}

::ng-deep.ant-radio-inner::after {
  background-color: rgba(72, 156, 156, 1);
}

::ng-deep.ant-checkbox-checked .ant-checkbox-inner {
  --antd-wave-shadow-color: rgba(72, 156, 156, 1);
  background-color: rgba(72, 156, 156, 1);
  border-color: rgba(72, 156, 156, 1);
  border-radius: 2px;
}

::ng-deep .ant-radio-wrapper {
  margin: 0px;
}

.Li {
  width: 130px;
  text-align: left;
}

.Li:hover {
  background: rgba(73, 146, 146, 0);
}

::ng-deep .ant-dropdown-menu-item,
.ant-dropdown-menu-submenu-title {
  padding: 5px 0px;
}

label:hover {
  background: rgba(73, 146, 146, 0.4);
}

::ng-deep .ant-dropdown-menu-item {
  padding: 0px;
}

::ng-deep .ant-dropdown-menu {
  background: rgba(48, 73, 77, 1);
  padding: 0px;
  border-radius: 0px;
}

.llr {
  width: 250px;
  height: 40px;
  background: rgba(27, 29, 31, 1);
  border: 1px solid rgba(133, 141, 143, 1);
  overflow: hidden;
  opacity: 1;
  border-radius: 4px;
  color: #fff;
  text-align: center; ///文字中對齊  05/12
}

//筛选
.state {
  background: rgba(48, 73, 77, 1) !important;
  border: 1px solid rgba(71, 156, 156, 1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 1) !important;
}

.search-box {
  padding: 10px 18px;
}

.search-box input {
  width: 188px;
  margin-bottom: 8px;
  display: block;
}

.search-box button {
  width: 90px;
  background-color: rgba(72, 156, 156, 1);
  color: #fff;
  border: 0px;
}

.search-box button:hover {
  border: 1px solid rgba(255, 255, 255, 1);
}

.search-button {
  margin-right: 8px;
}

.ant-table-filter-icon:hover {
  background-color: rgba(0, 0, 0, 0) !important;
  color: #fff !important;
  transform: scale(1.3);
}



:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon {
  right: 30px;
  font-size: 18px;
}

:host ::ng-deep .ant-table-thead>tr>th .rou {
  right: 15px !important;
  font-size: 18px;
}

:host ::ng-deep .anticon {
  color: rgba(255, 255, 255, 1) !important;

}

:host ::ng-deep .ant-picker-input>input {
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  background: rgba(32, 48, 51, 1);
}

::ng-deep .ant-calendar-picker-icon {
  right: 20px;
  font-size: 18px;
  margin-top: -10px;
}

:host ::ng-deep .ant-calendar-picker-clear {
  right: 45px;
  background: rgba(32, 48, 51, 1) !important;

}

:root .ant-dropdown.nz-dropdown {
  margin-top: 12px;
  margin-bottom: 0px;
}

:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon>svg {
  margin-top: -8px;
}

:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon>svg {
  margin-top: -8px;
}

::ng-deep .ant-table-filter-dropdown {
  margin-left: -50px;
  margin-top: -35px;
}

//箱号搜索
.search-box {
  padding: 8px;
  padding-left: 16px;
}

.search-box input {
  width: 188px;
  margin-bottom: 8px;
  display: block;
}

.search-box button {
  width: 90px;
  background-color: rgba(72, 156, 156, 1);
  color: #fff;
  border: 0px;
}

.search-box button:hover {
  border: 1px solid rgba(255, 255, 255, 1);
}

.search-button {
  margin-right: 8px;
}

.ant-table-filter-icon {
  font-size: 18px;

  transform: scale(1.2);
  // margin-left: -30px;
}



.ant-table-filter-icon:hover {
  background-color: rgba(0, 0, 0, 0) !important;
  color: #fff !important;
  transform: scale(1.6);
}



:host ::ng-deep .ant-input:focus {
  border-color: rgba(72, 156, 156, 1);
  border-right-width: 0px;
}

::ng-deep .ant-input {
  width: 220px;
  height: 30px;
  font-size: 18px;
  background-color: rgba(32, 48, 51, 1);
  border: 1px solid #ffffff;
  color: #ffffff;
}

//鼠标浮动颜色
:host ::ng-deep .fontColor:hover {
  color: rgba(72, 156, 156, 1) !important;
  text-align: center !important;
}

:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon {
  right: 60px;
}


// 分页样式
.page {
  color: #ffffff;
  font-size: 14px;
  // position: absolute;
  margin-top: 15px;
  float: right;
}

.page>input,
.page>button {
  width: 74px;
  height: 32px;
  background: rgba(72, 156, 156, 1);
  border: 1px solid rgba(72, 156, 156, 1);
  opacity: 1;
  border-radius: 4px;
  margin-left: 10px;
  margin-right: 5px;
  text-align: center;
}

.page>input {
  width: 20px;
  border: 0px;
  background-color: rgba(112, 112, 112, 0);
  margin: 0px;
}

//添加检测结果
.addResultNum {
  display: inline-block;
  background: url(../../../assets/image/btn_inputresult_normal.svg) no-repeat center;
  background-size: contain;
  width: 128px; //改高度值  Claire
  height: 27px; //改高度值  Claire
  vertical-align: middle;
}

.addResultNum:hover {
  background: url(../../../assets/image/btn_inputresult_over.svg); //增加鼠標懸浮效果 Claire 04/23
}

//关闭弹框按钮
::ng-deep .ant-modal-close {
  color: #ffffff !important;
}

//检测结果输入框
::ng-deep .ant-modal{
  padding: 24px;
}
.add {
  display: flex;
  justify-content: center;
  align-items: center;
}

.NGnum {
  width: 250px;
  height: 40px;
  background: rgba(27, 29, 31, 1);
  border: 1px solid rgba(133, 141, 143, 1);
  overflow: hidden;
  opacity: 1;
  border-radius: 4px;
  color: #FF4848;
  text-align: center; ///文字中對齊  05/12
}

.NGnum:focus {
  //添加fouse效果 Claire 04/21
  outline: none; //去除默認樣式 Claire04/21
  border: 1px solid rgb(109, 52, 55); //添加邊框效果 Claire 04/21
}

.OKnum {
  overflow: hidden;
  width: 250px;
  height: 40px;
  background: rgba(27, 29, 31, 1);
  border: 1px solid rgba(133, 141, 143, 1);
  opacity: 1;
  border-radius: 4px;
  text-align: center; ///文字中對齊  05/12
  color: #21CC97;
}

.OKnum:focus {
  //添加fouse效果 Claire 04/21
  outline: none; //去除默認樣式 Claire04/21
  border: 1px solid rgba(72, 156, 156, 1); //添加邊框效果 Claire 04/21
}

//送出单选框
::ng-deep.ant-radio-inner::after {
  background-color: rgba(72, 156, 156, 1);
}

// 修改状态弹出框样式修改
.djh {
  width: 70%;
  text-align: left;
  margin: 40px auto 0px auto;
}

.returnRadio {
  float: left;
}

.returnRadio>label {
  // display: block;
  height: 30px;
  line-height: 30px;
}

:host ::ng-deep .ant-radio,
.ant-radio-group,
.ant-radio-wrapper {
  font-size: 18px;
  color: #ffffff;
}

::ng-deep.ant-radio-inner::after {
  background-color: rgba(72, 156, 156, 1);
}

::ng-deep.ant-checkbox-checked .ant-checkbox-inner {
  --antd-wave-shadow-color: rgba(72, 156, 156, 1);
  background-color: rgba(72, 156, 156, 1);
  border-color: rgba(72, 156, 156, 1);
  border-radius: 2px;
}

// 下载
.btn_download {
  width: 160px;
  height: 32px;
  border-radius: 4px;
  border: 0px;
  outline: none;
  text-align: center;
  background: url(../../../assets/image/btn_lymxx.svg) no-repeat;
  cursor: pointer;
}

.btn_download:hover {
  background: url(../../../assets/image/btn_lymx.svg) no-repeat;
}

::ng-deep .ant-modal-content .ant-btn-primary {
  border: 1px solid rgba(72, 156, 156, 1);
  background: rgba(48, 73, 77, 1);
  font-size: 16px;
  color: rgba(72, 156, 156, 1);
  margin-left: 20px;
}

::ng-deep .ant-modal-content {
  .ant-btn {
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(48, 73, 77, 1);
    font-size: 16px;
    color: rgba(72, 156, 156, 1);
  }

  .ant-btn:hover {
    //增加按钮hover效果 Claire
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(72, 156, 156, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }

  .ant-btn:focus {
    //增加按钮focus效果  Claire
    border: 1px solid rgba(55, 122, 122, 1);
    background: rgba(55, 122, 122, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }
}

::ng-deep .ant-modal-content {
  background: rgba(31, 46, 49, 1); //05/14  -----611行
  border-radius: 8px; ///  05/14
}

::ng-deep .ant-modal-footer {
  //border-top: 0px;
  border-radius: 0px 0px 8px 8px;
  height: 60px; /// 定義高度05/08
  padding: 14px 16px; //修改05/08
  background: rgba(48, 73, 77, 1); /// 定義背景色05/08
  border-top: none; /// 去掉topline05/08
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1);
}

::ng-deep .ant-modal-header {
  background: rgba(48, 73, 77, 1);
  border-bottom: 0px;
  border-radius: 8px 8px 0px 0px;
}

::ng-deep .ant-modal-title {
  font-size: 20px;
  font-family: Noto Sans;
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 5px;
  opacity: 1;
  text-align: center;
}
//排序
.biaot {
  float: left;
  height: 48px;
  line-height: 48px;
}

.jtou {
  width: 17px;
  float: right;
  margin: 10px 0 0 5px;
}

.jtou a {
  display: block;
  height: 12px;
  overflow: hidden;
  background: no-repeat;
}
.choose_select {
  min-width: 320px;
  // height: 100px;
  line-height: 44px;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  margin-top: -20px;
  display:inline-block;
}

.loading-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

body{
  position: relative;
}

.ant-spin-container{
  width: 400px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* 设置一个较大的值 */
}

.custom-progress ::ng-deep .ant-progress-text {
  color: white;
}


